/**
 * 
 */
package com.glela.common.dao;

import java.util.List;

import com.glela.common.beans.AreaCommonBean;


 
/**
 * 区域查询DAO
 * 1.获取某一级别下子级列表
 * 2.获取某一id的区域列表
 * 
 * @author liujie
 *
 */
public interface IAreaDao
{
	/**
	 *  
	 * @param fatherCode
	 * @return
	 */
	public List<AreaCommonBean> selectChildrenByFather(String fatherCode);
 
	/**
	 * @param code
	 * @return
	 */
	public AreaCommonBean selectAreaByCode(String code);

	
	/**
	 * @param name
	 * @return
	 */
	public  AreaCommonBean  selectAreaByName(String name);
	
	/**
	 * @param name
	 * @return
	 */
	public AreaCommonBean  selectCountryByName(String name);

	List<AreaCommonBean> loadAllChildrenByFather(String fatherCode);
  
}
